package com.example.choupaiapp.main.constant

/**
 * Created by ASUS on 2019/11/12.
 */

object Url {
    //       const val QINIU_YUN = "http://qiniu.qmdl666.com/"
    const val QINIU_YUN = "http://qiniuyun.tisuapp.com/"

    //   const String HOST_SERVICE = "http://10.117.5.9:8081/cp/";
    //   const String HOST_SERVICE = "http://www.choupaiapp.com:8081/cp/";
//       const val HOST_SERVICE = "http://app.tisuapp.com/app/"
    const val HOST_SERVICE = "http://test.tisuapp.com/app/"

    //水印图片地址
    const val WATER_MARKET_IMG = "http://qiniuyun.tisuapp.com/20200619/f2b0e39db5a846bc864a25efad34e148.png";

    //首页tab标签
    const val HOME_TAB = HOST_SERVICE + "api/contentcategories/list"

    //首页根据tab获取数据
    const val HOME_TAB_CHILD = HOST_SERVICE + "api/content/list"

    //登录注册
    const val RIGIST_LOGIN = HOST_SERVICE + "api/mobileCodeLogin"

    //获取个人信息
    const val GET_UERINFO = HOST_SERVICE + "api/user/userInfo"

    //修改个人信息
    const val CHANGE_USERINFO = HOST_SERVICE + "api/user/update"

    //获取七牛云token
    const val GET_QINIU_TOKEN = HOST_SERVICE + "api/oss/getToken"

    //查询openid是否注册过
    const val OPEN_ID_IS_RIGIST = HOST_SERVICE + "api/findOpenid"

    //评论接口
    const val COMMENT_SAVE = HOST_SERVICE + "api/comment/save"

    //关注接口
    const val FOLLOW_OTHER = HOST_SERVICE + "api/attention/add/"

    //取消关注
    const val CANCEL_FOLLOW = HOST_SERVICE + "api/attention/cancel/"

    //app定位
    const val APP_LOCATION_SAVE = HOST_SERVICE + "api/appaddresslog/save"

    //版本更新
    const val APP_VERSION_UPDATE = HOST_SERVICE + "api/versions"

    //点赞内容接口
    const val PRAISE_HOME = HOST_SERVICE + "api/likelog/contentLike"

    //取消点赞内容接口
    const val CANCEL_PRAISE_HOME = HOST_SERVICE + "api/likelog/contentCancelLike"

    //签到接口
    const val SIGN = HOST_SERVICE + "api/task/signIn"

    //我的能量接口
    const val MINE_ENERGY = HOST_SERVICE + "api/energylog/pageData"

    //我的能量明细
    const val MINE_ENERGY_DETAIL = HOST_SERVICE + "api/energylog/list"

    //能量兑换
    const val ENERGY_EXCHANGE = HOST_SERVICE + "api/energylog/conversion"

    //消息提醒列表接口
    const val MESSAGE_REMIND_LIST = HOST_SERVICE + "api/message/remindList"

    //黑名单列表
    const val BLACK_LIST = HOST_SERVICE + "api/blacklist/list"

    //取消黑名单
    const val CANCEL_BLACK_LIST = HOST_SERVICE + "api/blacklist/cancel/"

    //反馈接口
    const val FEED_BACK = HOST_SERVICE + "api/feedback/save"

    //获取兴趣列表
    const val INTEREST_LIST = HOST_SERVICE + "api/user/getInterest"

    //获取用户兴趣列表
    const val USER_INTEREST_LIST = HOST_SERVICE + "api/user/getUserInterest"

    //修改用户兴趣
    const val UPDATE_USER_INTEREST = HOST_SERVICE + "api/user/updateUserInterest"

    //我的邀请页面头部信息
    const val INVITE_TOP_INFO = HOST_SERVICE + "api/user/invite"

    //我的邀请列表
    const val INVITE_LIST = HOST_SERVICE + "api/user/inviteList"

    //保存用户手机通讯录
    const val SAVE_PHONE = HOST_SERVICE + "api/user/savePhoneBook"

    //解绑第三方登录
    const val UNBIND_LOGIN = HOST_SERVICE + "api/user/unbind"

    //修改第三方登录
    const val CHANGE_BIND_LOGIN = HOST_SERVICE + "api/user/updateOpenid"

    //钱包明细
    const val WALLET_LIST = HOST_SERVICE + "api/balancelog/list"

    //提现接口
    const val WALLET_CASH = HOST_SERVICE + "api/balancelog/withdrawal"

    //查看用户发布的作品
    const val WATCH_CONTENT = HOST_SERVICE + "api/content/userContentList"

    //查看他人用户信息
    const val WATCH_OTHER_INFO = HOST_SERVICE + "api/user/info/"

    //查看用户关注列表
    const val WATCH_USER_FOLLOW_LIST = HOST_SERVICE + "api/attention/attentionList"

    //查看用户粉丝列表
    const val WATCH_USER_FANS_LIST = HOST_SERVICE + "api/attention/fansList"

    //我赞过的内容
    const val MINE_PRAISE = HOST_SERVICE + "api/content/likeList"

    //我评论的内容
    const val MINE_COMMENT = HOST_SERVICE + "api/content/commentList"

    //获取评论列表接口
    const val GET_COMMENT_LIST = HOST_SERVICE + "api/comment/list"

    //评论点赞接口
    const val COMMENT_PRAISE = HOST_SERVICE + "api/likelog/commentLike"

    //评论取消点赞
    const val COMMENT_CANCEL_PRAISE = HOST_SERVICE + "api/likelog/commentCancelLike"

    //分享数据接口
    const val SHARE_DATA = HOST_SERVICE + "api/likelog/getShareContent"

    //分享成功回调接口
    const val SHARE_SUCCESS = HOST_SERVICE + "api/likelog/share"

    //加入黑名单
    const val ADD_BLACK_LIST = HOST_SERVICE + "api/blacklist/add/"

    //举报
    const val REPORT = HOST_SERVICE + "api/report"

    //消息通知列表
    const val MESSAGE_NOTICE = HOST_SERVICE + "api/message/informList"

    //获取消息未读条数
    const val MESSAGE_COUNT = HOST_SERVICE + "api/message/countMessage"

    //清楚消息提醒条数
    const val CLEAR_MESSAGE_REMIND = HOST_SERVICE + "api/message/updateStatus"

    //搜索热词
    const val SEARCH_HOT = HOST_SERVICE + "api/hotword/list"

    //搜索结果页
    const val SEARCH_RESULT = HOST_SERVICE + "api/hotword/search"

    //发布接口
    const val PUBLISH = HOST_SERVICE + "api/content/add"

    //发现页tab标签和banner
    const val FIND_TAB_BANNER = HOST_SERVICE + "api/discover/index"

    //发现页能量主
    const val FIND_POWER = HOST_SERVICE + "api/apply/info"

    //发现列表内容
    const val FIND_LIST = HOST_SERVICE + "api/discover/list"

    //发现详情接口
    const val FIND_DETAIL = HOST_SERVICE + "api/discover/info"

    //删除提醒消息接口
    const val DELETE_REMIND_MESSAGE = HOST_SERVICE + "api/message/deleteMessage"

    //通过id查询内容详情
    const val BY_ID_DETAIL = HOST_SERVICE + "api/content/info"

    //签到任务中心
    const val SIGN_TASK = HOST_SERVICE + "api/task/taskList"

    //常见问题
    const val COMMON_QUESTION = HOST_SERVICE + "api/appquestion/list"

    //欢迎页
    const val SPLASH = HOST_SERVICE + "api/welcomeImage"

    //我的钱包奖励规则
    const val MINE_WALLET_RULE = HOST_SERVICE + "api/awardRule"

    //删除评论
    const val DELETE_COMMENT = HOST_SERVICE + "api/comment/delete"

    //删除动态
    const val DELETE_CONTENT = HOST_SERVICE + "api/content/delete"

    //阅读5分钟调用
    const val WATCH_FIVE_MINUTE = HOST_SERVICE + "api/task/lookTask"

    //密码登录
    const val PASSWORD_LOGIN = HOST_SERVICE + "api/androidLogin"

    //验证token是否失效
    const val VERIFY_TOKEN = HOST_SERVICE + "api/verifyToken"

    //分享给好友成功后回调
    const val SHARE_FRIEND_SUCCESS = HOST_SERVICE + "api/likelog/shareSuccess"

    //参与投票接口
    const val HOME_VOTE = HOST_SERVICE + "api/content/vote"

    //取消投票接口
    const val CANCE_HOME_VOTE = HOST_SERVICE + "api/content/cancelVote"

    //手机号是否注册过
    const val PHONE_IS_REGIST = HOST_SERVICE + "api/findMobile"

    //邀请的用户状态信息
    const val INVITE_USER_INFO = HOST_SERVICE + "api/user/inviteUserInfo"

    //获取职业列表
    const val GET_JOB_LIST = HOST_SERVICE + "api/occupationList"

    //用户添加邀请码
    const val USER_ADD_CODE = HOST_SERVICE + "api/user/addInviteCode"

    //发布规范阅读确认
    const val PUBLISH_LOOK_SURE = HOST_SERVICE + "api/addStandardLook"

    //发布规范和邀请码弹窗不再提示
    const val CANCEL_TIP = HOST_SERVICE + "api/user/cancelWindow"

    //用户发表专栏内容
    const val WATCH_FIND_CONTENT = HOST_SERVICE + "api/discover/findByUserId"

    //增加阅读量
    const val ADD_WATCH_CONTENT = HOST_SERVICE + "api/content/updateRead"


}
